﻿@model VoteSystem.Models.VoteConfig
@{
    Layout = null;
}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>Matrix Admin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="~/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="~/css/matrix-style2.css" />
<link rel="stylesheet" href="~/css/matrix-media.css" />
</head>
<body>

<div id="content">
  <div id="content-header">
      <h1>修改配置时间</h1>
  </div>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title"> <span class="icon"> <i class="icon-info-sign"></i> </span>
            <h5>时间配置</h5>
          </div>
          <div class="widget-content">


          <form action="/config/timeconfig" method="post" class="form-horizontal">
            <div class="control-group">
              <label class="control-label">第一志愿开始 :</label>
              <div class="controls">
                <input type="text" class="span11" value="@Model.StartTime1.ToString("yyyy-MM-dd HH:mm:ss")" name="startTime1"  />
              </div>
            </div>
            <div class="control-group">
              <label class="control-label">第一志愿结束 :</label>
              <div class="controls">
                <input name="endTime1" type="text" class="span11" value="@Model.EndTime1.ToString("yyyy-MM-dd HH:mm:ss")"  />
              </div>
            </div>

            <div class="control-group">
              <label class="control-label">第二志愿开始 :</label>
              <div class="controls">
                <input type="text" class="span11" name="startTime2" value="@Model.StartTime2.ToString("yyyy-MM-dd HH:mm:ss")" />
              </div>
            </div>
            <div class="control-group">
              <label class="control-label">第二志愿结束 :</label>
              <div class="controls">
                <input name="endTime2" type="text" class="span11" value="@Model.EndTime2.ToString("yyyy-MM-dd HH:mm:ss")" />
              </div>
            </div>
            <div class="control-group">
              <label class="control-label">第三志愿开始 :</label>
              <div class="controls">
                <input type="text" class="span11" name="startTime3" value="@Model.StartTime3.ToString("yyyy-MM-dd HH:mm:ss")" />
              </div>
            </div>
            <div class="control-group">
              <label class="control-label">第三志愿结束 :</label>
              <div class="controls">
                <input name="endTime3" type="text" class="span11" value="@Model.EndTime3.ToString("yyyy-MM-dd HH:mm:ss")" />
              </div>
            </div>
            <div class="form-actions">
              <button type="submit" class="btn btn-success">Save</button>
              @if (ViewBag.IsSuccess !=null && ViewBag.IsSuccess) { 
                <div>保存成功！</div>
              }
            </div>
          </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<script src="~/js/jquery.min.js"></script> 
<script src="~/js/jquery.ui.custom.js"></script> 
<script src="~/js/bootstrap.min.js"></script> 
<script src="~/js/matrix.js"></script>
</body>
</html>
